package net.uhuijia.utils;

import java.util.ArrayList;
import java.util.List;

/**
 * Extened Apache Common String Utils for project
 * 
 * @author crespo
 * 
 * 
 */
public class StringSplitHelper{

    private StringSplitHelper() {
    }

    /**
     * 根据指定字串获得集合LIST
     * @param split
     * @return
     */
    public static List<String> getListByString( String str,String split ){
    	List<String> list = new ArrayList<String>();
    	String[] strs = str.split(split);
    	for(int i=0;i<strs.length;i++ ){
    		String string = strs[i];
    		list.add(string);
    	}
    	return list;
    }
    
}
